﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GIMS.MODEL
{
    [Serializable]
    public class DeliveryNoteInfo
    {
        private Nullable<int> seq;
        private PurchaseOrderInfo infoPo;
        private PurchaseOrderInstallmentInfo infoPoInstallment;
        private string deliveryType;
        private string refNo;
        private string name;
        private string descr;
        private string documentNumber;
        private Nullable<DateTime> receiveDate;
        private string invoiceNumber;
        private Nullable<DateTime> invoiceDate;
        private MasterWarehouseInfo infoWarehouse;
        private Nullable<double> redemptionAmount;
        private Nullable<double> deductionAmount;
        private SysYearTypeInfo infoYearType;
        private Nullable<int> bgmYear;
        private Nullable<DateTime> deliveryDate;
        private HrmEmployeeInfo infoDeliveryEmp;
        private HrmJobSiteInfo infoDeliveryJobSite;
        private string deliveryPlace; 
        private Nullable<DateTime> confirmDate;
        private HrmEmployeeInfo infoConfirmEmp;
        private Nullable<DateTime> cancelDate;
        private HrmEmployeeInfo infoCancelEmp;
        private SysRecordStatusInfo infoRecordStatus;
        private SysProgressInfo infoProgress;
        private RecordInfo infoRecord;
        private string ref_no;
        private Nullable<int> beexpense;
        private string expenseorwarehouse;

        public string Ref_no
        {
            get { return ref_no; }
            set { ref_no = value; }
        }

        public DeliveryNoteInfo()
        {

        }

        public Nullable<int> Seq
        {
            set { seq = value; }
            get { return seq; }
        }

        public PurchaseOrderInfo InfoPo
        {
            set { infoPo = value; }
            get { return infoPo; }
        }

        public PurchaseOrderInstallmentInfo InfoPoInstallment
        {
            set { infoPoInstallment = value; }
            get { return infoPoInstallment; }
        }
        
        public string DeliveryType
        {
            set { deliveryType = value; }
            get { return deliveryType; }
        }

        public string RefNo
        {
            set { refNo = value; }
            get { return refNo; }
        }

        public string Name
        {
            set { name = value; }
            get { return name; }
        }

        public string Descr
        {
            set { descr = value; }
            get { return descr; }
        }

        public string DocumentNumber
        {
            set { documentNumber = value; }
            get { return documentNumber; }
        }

        public Nullable<DateTime> ReceiveDate
        {
            set { receiveDate = value; }
            get { return receiveDate; }
        }

        public string InvoiceNumber
        {
            set { invoiceNumber = value; }
            get { return invoiceNumber; }
        }

        public Nullable<DateTime> InvoiceDate
        {
            set { invoiceDate = value; }
            get { return invoiceDate; }
        }

        public MasterWarehouseInfo InfoWarehouse
        {
            set { infoWarehouse = value; }
            get { return infoWarehouse; }
        }

        public Nullable<double> RedemptionAmount
        {
            set { redemptionAmount = value; }
            get { return redemptionAmount; }
        }

        public Nullable<double> DeductionAmount
        {
            set { deductionAmount = value; }
            get { return deductionAmount; }
        }

        public SysYearTypeInfo InfoYearType
        {
            set { infoYearType = value; }
            get { return infoYearType; }
        }

        public Nullable<int> BgmYear
        {
            set { bgmYear = value; }
            get { return bgmYear; }
        }

        public Nullable<DateTime> DeliveryDate
        {
            set { deliveryDate = value; }
            get { return deliveryDate; }
        }

        public HrmEmployeeInfo InfoDeliveryEmp
        {
            set { infoDeliveryEmp = value; }
            get { return infoDeliveryEmp; }
        }

        public HrmJobSiteInfo InfoDeliveryJobSite
        {
            set { infoDeliveryJobSite = value; }
            get { return infoDeliveryJobSite; }
        }

        public string DeliveryPlace
        {
            set { deliveryPlace = value; }
            get { return deliveryPlace; }
        }

        public Nullable<DateTime> ConfirmDate
        {
            set { confirmDate = value; }
            get { return confirmDate; }
        }

        public HrmEmployeeInfo InfoConfirmEmp
        {
            set { infoConfirmEmp = value; }
            get { return infoConfirmEmp; }
        }

        public Nullable<DateTime> CancelDate
        {
            set { cancelDate = value; }
            get { return cancelDate; }
        }

        public HrmEmployeeInfo InfoCancelEmp
        {
            set { infoCancelEmp = value; }
            get { return infoCancelEmp; }
        }

        public SysRecordStatusInfo InfoRecordStatus
        {
            set { infoRecordStatus = value; }
            get { return infoRecordStatus; }
        }

        public SysProgressInfo InfoProgress
        {
            set { infoProgress = value; }
            get { return infoProgress; }
        }

        public RecordInfo InfoRecord
        {
            set { infoRecord = value; }
            get { return infoRecord; }
        }
        public Nullable<int> BeExpenses
        {
            set { beexpense = value; }
            get { return beexpense; }
        }
        public string ExpenseOrWareHouse
        {
            set { expenseorwarehouse = value; }
            get { return expenseorwarehouse; }
        }
    }
}
